
<html>
<head>
    <script src="/js/jquery-1.10.2.min.js"></script>
    <!--<script src="/js/jquery.extend.js"></script>-->
    <link rel="stylesheet" href="/css/common/font-awesome.min.css">
    <!--layui ztree样式-->
    <link rel="stylesheet" href="/plugins/layui/css/layui.css" media="all">
    <script src="/plugins/layer/layer.js"></script>
    <script src="/plugins/layui/layui.js"></script>
    <!--样式-->
    <link rel="stylesheet" href="/css/common/cyType.css">
    <link rel="stylesheet" href="/css/common/cyStyle.css">
    <link rel="stylesheet" href="/css/function/menuList.css">
    <script src="/plugins/editgrid/plugin/My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
</head>
    <body>
    <div class="layui-card">
        <form class="layui-form" action="">
        </form>
    </div>

    <div class="layui-card mgt0">
        <div class="layui-card-header">
            <div class="flexLeft">
                <img src="/images/videoList/Shape2.png" alt="">
                <span class="carFont">数据列表</span>
            </div>
            <div class=" flexRight">

                <form action="" class="layui-form">
                    <button id="btnAdd" class="layui-btn layui-btn-green upload " data-url="/doctor/detail" title="添加医生">
                        添加
                    </button>

                </form></div>
        </div>
        <div class="layui-card-body">

            <table class="layui-hide" id="test" lay-filter="test"></table>
            <script type="text/html" id="switchTpl">
                <input type="checkbox" name="status" lay-event="changeStatus" data-id="{{d.id}}"
                       value="{{d.status}}" {{d.status== 1 ? 'checked' : '' }}  lay-skin="switch"  lay-text="ON|OFF" lay-filter="sexDemo">
            </script>

            <script type="text/html" id="barDemo">
                <a class="layui-btn layui-btn-xs cy-page" lay-event="edit" data-url="/doctor/detail?id={{d.id}}" title="编辑医生">编辑</a>
                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
            </script>

        </div>
    </div>

    <script src="/js/common.js"></script>
    <script src="/js/doctor/doctorList.js"></script>
    </body>
</html>
